Solution:

a1 = 2
a2 = 4
b1 = -4
b2 = 6
s1 = (a1 + b1) / 2
s2 = (a2 + b2) / 2
print(f'The middle point: ({s1}, {s2})')